package com.jt9003.pojo;

import java.util.Date;

public class Patient_case_history2{

    private int pCaseId;

    //病历号
    private String patientCaseHistory;
    //患者
    private Patient patient;
    //开方时间（假字段，方便数据展示添加）
    private Date preOpenDate;

    private String pName;

    private String pGender;

    private Integer pAge;

    private String pPhone;

    private String pAllergy;

    private String time;    //字符串的时间，用于页面展示

    public Patient_case_history2() {
    }

    public Patient_case_history2(int pCaseId, String patientCaseHistory, Patient patient, Date preOpenDate, String pName, String pGender, Integer pAge, String pPhone, String pAllergy, String time) {
        this.pCaseId = pCaseId;
        this.patientCaseHistory = patientCaseHistory;
        this.patient = patient;
        this.preOpenDate = preOpenDate;
        this.pName = pName;
        this.pGender = pGender;
        this.pAge = pAge;
        this.pPhone = pPhone;
        this.pAllergy = pAllergy;
        this.time = time;
    }

    public String getpAllergy() {
        return pAllergy;
    }

    public void setpAllergy(String pAllergy) {
        this.pAllergy = pAllergy;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getpCaseId() {
        return pCaseId;
    }

    public void setpCaseId(int pCaseId) {
        this.pCaseId = pCaseId;
    }

    public String getPatientCaseHistory() {
        return patientCaseHistory;
    }

    public void setPatientCaseHistory(String patientCaseHistory) {
        this.patientCaseHistory = patientCaseHistory;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Date getPreOpenDate() {
        return preOpenDate;
    }

    public void setPreOpenDate(Date preOpenDate) {
        this.preOpenDate = preOpenDate;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpGender() {
        return pGender;
    }

    public void setpGender(String pGender) {
        this.pGender = pGender;
    }

    public Integer getpAge() {
        return pAge;
    }

    public void setpAge(Integer pAge) {
        this.pAge = pAge;
    }

    public String getpPhone() {
        return pPhone;
    }

    public void setpPhone(String pPhone) {
        this.pPhone = pPhone;
    }
}
